package com.zb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @ClassName TbGpsModel
 * @Description 模型对象
 * @Author xm
 * @Date 2024/08/15 08:54
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_gps")
@ApiModel(value = "TbGpsModel", description = "")
public class TbGpsModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private Integer id;

    @ApiModelProperty(value = "主题")
    private String subject;

    @ApiModelProperty(value = "设备识别码字段")
    private String snKey;

    @ApiModelProperty(value = "类型（单字段、双字段）")
    private Boolean singleField;  // 0=false  1=true

    @ApiModelProperty(value = "经纬度字段")
    private String valueKey;

    @ApiModelProperty(value = "经纬度分隔符")
    private String separation;

    @ApiModelProperty(value = "经度字段")
    private String longitude;

    @ApiModelProperty(value = "维度字段")
    private String latitude;


}
